package  com.pcbly.web.business.crm;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.crm.ClientWlInitBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ClientWlInitService extends BaseService<ClientWlInitBean> {

	ClientWlInitBean getClientWlInitBeanById(String id) throws Exception;
	
	void removeClientWlInitBeanById(String id) throws Exception;
	
	void removeClientWlInitBeanByIds(String ids) throws Exception;
	
	ClientWlInitBean saveClientWlInitBean(ClientWlInitBean crm) throws Exception;
	
	ClientWlInitBean updateClientWlInitBean(ClientWlInitBean crm) throws Exception;
	
	Page<ClientWlInitBean>  findClientWlInitBeanByCond(ClientWlInitBean bean,
			Page<ClientWlInitBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveClientWlInitBeanExt(String sql) throws Exception;

	String findClientWlInitBeanExtCreate(String tableName) throws Exception;

	String findClientWlInitBeanExtEdit(String tableName, String id)
			throws Exception;

	String findClientWlInitBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasClientWlInitBeanExtData(String tableName, String id)
			throws Exception;
}